﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Hosting.Common
{
    /// <summary>
    /// 分页响应泛型接口
    /// </summary>
    /// <typeparam name="T">类型</typeparam>
    public interface IPageResponse<T> where T : class
    {
        /// <summary>
        /// 数据总行数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public List<T> List { get; set; }
    }
}
